package com.qunar.itts.validator;

import java.io.InputStream;
import java.util.Map;
import java.util.Set;

import javax.validation.Configuration;
import javax.validation.ConstraintValidatorFactory;
import javax.validation.MessageInterpolator;
import javax.validation.TraversableResolver;
import javax.validation.ValidatorFactory;
import javax.validation.spi.ConfigurationState;

/**
 * TODO
 * @author wangxinchun1988@163.com
 * @date 2015-5-11 上午10:49:47
 */
public class QunarConfiguration implements Configuration<QunarConfiguration>,ConfigurationState {

	@Override
	public boolean isIgnoreXmlConfiguration() {
		return true;
	}

	@Override
	public MessageInterpolator getMessageInterpolator() {
		return null;
	}

	@Override
	public Set<InputStream> getMappingStreams() {
		return null;
	}

	@Override
	public ConstraintValidatorFactory getConstraintValidatorFactory() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TraversableResolver getTraversableResolver() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<String, String> getProperties() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration ignoreXmlConfiguration() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration messageInterpolator(
			MessageInterpolator interpolator) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration traversableResolver(TraversableResolver resolver) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration constraintValidatorFactory(
			ConstraintValidatorFactory constraintValidatorFactory) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration addMapping(InputStream stream) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QunarConfiguration addProperty(String name, String value) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public MessageInterpolator getDefaultMessageInterpolator() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TraversableResolver getDefaultTraversableResolver() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ConstraintValidatorFactory getDefaultConstraintValidatorFactory() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ValidatorFactory buildValidatorFactory() {
		return new QunarValidatorFactory();
	}
	
}
